/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package src.services.saving;

/**
 *
 * @author jay
 */

import java.util.List;
import java.util.Map;
import src.domain.saving.Savfeature;
import src.services.CRUEDService;

public class SavfeatureModel implements java.io.Serializable {
    
    private CRUEDService service;
    
    public SavfeatureModel() {
        service = new CRUEDService();
    }
    
    public List<Savfeature> findAll(Map<String, String> filters) {
        return (List<Savfeature>) service.findAll("Savfeature", filters);
    }

    public boolean saveData(Savfeature data) {
        return service.saveData(data);
    }
    
    public boolean deleteData(Savfeature data) {
        return service.deleteData(data);
    }
}
